Method FirstOrDefaultAsync(Expression<Func<TProps, bool>>, CancellationToken)

Assembly: redb.Core.dll

Get first object matching condition, or null.

Task<RedbObject<TProps>?> FirstOrDefaultAsync(Expression<Func<TProps, bool>> predicate, CancellationToken cancellationToken = default)